export function createTemplate(){
    let render:Function;
    const DefineTmp  = {
        setup(_:any,{slots}:any){
            return ()=>{
                render = slots.default
            }
        }
    }

    const UseTmp=(props:any) =>{
        return render(props)
    }

    return {DefineTmp,UseTmp}
}